<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Vue 3 + Element UI Example</title>
  <!-- 引入 Vue 3 的 CDN 链接 -->
  <script src="https://cdn.jsdelivr.net/npm/vue@3.2.20/dist/vue.global.prod.js"></script>
  <!-- 引入 Element UI 的 CDN 链接 -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/element-plus/lib/theme-chalk/index.css">
  <script src="https://cdn.jsdelivr.net/npm/element-plus/lib/index.full.js"></script>
</head>
<body>
  <div id="app">
    <el-button @click="handleClick">Click me</el-button>
  </div>

  <script>
    const { createApp } = Vue;
    const app = createApp({
      methods: {
        handleClick() {
          alert('Button clicked!');
        }
      }
    });

    app.use(ElementPlus);
    app.mount('#app');
  </script>
</body>
</html>
